﻿<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>

    <!-- 字体图标 -->
    <link rel="stylesheet" href="../static/plugins/font-awesome/css/font-awesome.min.css">
    <!-- 基类样式 -->
    <link rel="stylesheet" href="../static/css/base.css">

    <!-- <script src="../static/js/jquery.js"></script> -->
    <!-- 三方工具类 -->
    <script src="../static/js/lodash.js"></script>


    <script src="../static/plugins/iview/vue.min.js"></script>
    <script src="../static/js/jquery1.42.min.js"></script>

    <script src="../static/js/jquery.SuperSlide.2.1.1.js"></script>



    <link href="https://cdn.bootcss.com/hover.css/2.1.1/css/hover-min.css" rel="stylesheet">

    <link rel="stylesheet" href="../static/css/innerPage.css">

    <style>
        .well {
            /* border: 1px #EDEDED solid; */
            border: none;
            background-color: white;
        }
        
        .well .well-header {
            line-height: 50px;
            height: 50px;
            padding: 0px 20px;
            border-bottom: 1px #EDEDED solid;
        }
        
        .well-header .title_icon {
            color: #5CADFF;
        }
        
        .well .well-header .right-btn {
            float: right;
            color: #666;
        }
        
        .well .well-header .right-btn .fa {
            color: #999;
        }
        
        .well .well-header .right-btn .active .fa,
        .well .well-header .right-btn .active {
            color: #5CADFF;
        }
        
        .well .well-header .right-btn>span {
            cursor: pointer;
        }
        
        .well .well-header .tips {
            color: #666;
            font-size: 13px;
        }
        
        .well .well-body {}
        
        .each-nav {
            display: inline-block;
            width: 72px;
            height: 100px;
            margin: 30px;
            text-align: center;
            cursor: pointer;
        }
        
        .each-nav .icon {
            width: 72px;
            height: 72px;
            background-color: #5CADFF;
            border-radius: 14px;
        }
        
        .each-nav .icon img {
            font-size: 40px;
            color: white;
            /* background: url(../static/images/deskCloud/1.png); */
            width: 36px;
            height: 36px;
            margin-top: 18px;
        }
        
        .each-nav .icon .fa {
            font-size: 40px;
            color: white;
            /* width: 36px;
            height: 36px; */
            width: 72px;
            height: 72px;
            margin-top: 18px;
        }
        
        .each-nav .title {
            color: #666;
        }
        
        .each-nav .plus,
        .each-nav .min {
            height: 24px;
            width: 24px;
            display: block;
            position: relative;
            border-radius: 12px;
            -webkit-border-radius: 12px;
            -moz-border-radius: 12px;
            background: #318EF1;
            position: absolute;
            top: -8px;
            left: 56px;
            opacity: 0.9;
        }
        
        .each-nav .min {
            background: #3F4559;
        }
        
        .each-nav .plus:before,
        .each-nav .plus:after,
        .each-nav .min:before,
        .each-nav .min:after {
            content: '';
            height: 2px;
            width: 14px;
            display: block;
            background: #fff;
            border-radius: 10px;
            -webkit-border-radius: 10px;
            -moz-border-radius: 10px;
            position: absolute;
            top: 11px;
            left: 5px;
        }
        
        .each-nav .plus:after {
            height: 14px;
            width: 2px;
            top: 5px;
            left: 11px;
        }
        
        .slideMenu .well-header ul {
            line-height: 50px;
            height: 50px;
            display: inline-block;
        }
        
        .slideMenu .well-header ul li {
            line-height: 50px;
            height: 50px;
            display: inline-block;
            padding: 0px 20px;
            cursor: pointer;
        }
        
        .slideMenu .well-header ul li .fa {
            color: #bbbec4;
        }
        
        .slideMenu .well-header ul li.on {
            border-bottom: 2px #2C8DEC solid;
            color: #2C8DEC;
        }
        
        .slideMenu .well-header ul li.on .fa {
            color: #2C8DEC;
        }
        
        .bg_5CADFF {
            background-color: #5CADFF!important;
        }
        
        .c_2C8DEC {
            color: #5CADFF!important;
        }
        
        .bg_A094EA {
            background-color: #A094EA!important;
        }
        
        .bg_5BD9C5 {
            background-color: #5BD9C5!important;
        }
        
        .bg_5ED5F3 {
            background-color: #5ED5F3!important;
        }
        
        .bg_DDDEE2 {
            background-color: #DDDEE2!important;
        }
        
        .fa-cubes {
            margin-left: 2px;
        }
    </style>


</head>

<body class="bg_E9EAEC">



    <div class="sc-container" id="app">

        <div class="well mt_20">

            <div class="well-header">
                <i class="fa fa-th-large title_icon">&nbsp;</i>
                <span class="title">收藏夹</span>
                <span v-if="topList().length==0" class="tips">您还没有收藏的功能,请从常用功能中添加功能</span>
                <div class="right-btn">
                    <span v-if="!gloabelTopDel" class="" v-on:click.stop="toTopDelState"><i class="fa fa-trash-o"></i> 删除</span>
                    <span v-if="gloabelTopDel" class="active" v-on:click.stop="outTopDelState"><i class="fa fa-trash-o"></i> 退出删除</span>
                </div>

            </div>
            <div class="well-body">


                <div class="each-nav hvr-bounce-in" v-for="(one,index) in topList()" v-on:click.stop="changePageUrl(one)">

                    <div class="icon" v-bind:class="one.iconBgCls">
                        <i class="fa" v-if="one.iconCls!=null&&one.iconCls.length>0" v-bind:class="one.iconCls"></i>
                        <img v-if="one.iconImgUrl!=null&&one.iconImgUrl.length>0" v-bind:src="one.iconImgUrl" alt="">
                    </div>

                    <span v-if="one.toDel" class="min" v-on:click.stop="topListRemove(one,index)">
                    </span>
                    <div class="title">{{ one.menuName }}</div>
                </div>


            </div>
        </div>

        <div class="well mt_20 slideMenu">
            <div class="well-header no_padding_left inline-block-container">

                <ul class="hd" v-if="unTopList().length>0">

                    <li v-for="(group,groupName) in getUnTopGroupList()">
                        <i class="fa fa-th-large"></i>
                        <span>{{groupName}}</span>
                    </li>
                </ul>

                <ul class="">
                    <li class="add_fuc">
                        <i class="fa fa-plus"></i>
                        <span>添加功能</span>
                    </li>
                </ul>
                <div class="right-btn">
                    <span v-if="globelTopAdd" class="active" v-on:click.stop="outAddState"><i class="fa  fa-star-o"></i> 退出添加</span>
                    <span v-if="!globelTopAdd" class="" v-on:click.stop="toAddState"><i class="fa  fa-star-o"></i> 收藏</span>
                </div>

            </div>
            <div class="well-body ">
                <ul class="bd">
                    <li v-for="(group,groupName) in getUnTopGroupList()">
                        <div class="each-nav hvr-bounce-in" v-for="(one,index) in group" v-on:click.stop="changePageUrl(one)">
                            <div class="icon" v-bind:class="one.iconBgCls">
                                <i class="fa" v-if="one.iconCls!=null&&one.iconCls.length>0" v-bind:class="one.iconCls"></i>
                                <img v-if="one.iconImgUrl!=null&&one.iconImgUrl.length>0" v-bind:src="one.iconImgUrl" alt="">
                            </div>
                            <span class="plus" v-if="one.toAdd" v-on:click.stop="topListAdd(one,index)"></span>
                            <div class="title">{{ one.menuName }}</div>
                        </div>
                </ul> 
            </div>
        </div>
    </div>                  
    <script src="cloudDestop.js"></script>

</body>

</html>